package com.csdj.t309.paper.mapper;

import com.csdj.t309.paper.entity.Tuser;
import com.csdj.t309.paper.entity.TuserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TuserMapper {
    long countByExample(TuserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Tuser record);

    int insertSelective(Tuser record);

    List<Tuser> selectByExample(TuserExample example);

    Tuser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tuser record);

    int updateByPrimaryKey(Tuser record);

    Tuser login(@Param("userCode") String userCode, @Param("userPassword") String userPassword);
}